package com.sdstc.modules.eneity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：wk
 * @date ：Created in 2023/2/23 15:42
 */
@Data
@EqualsAndHashCode()
@TableName("import_error")
public class ImportErrorEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String identityNo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date importTime;

    @TableField(exist = false)
    private Integer deleted;
}
